package com.lakeworks.domain;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.*;

import javax.validation.constraints.NotBlank;

@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ChannelInfo extends BaseDomain {

    //渠道域名
    @NotBlank(message = "域名不能为空")
    private String channelUrl;

    //渠道名称
    @NotBlank(message = "渠道名称不能为空")
    private String channelName;

    //渠道颜色
    @NotBlank(message = "颜色")
    private String color;

    //水洗码前缀
    private String barcode;

    @NotBlank(message = "ak不能为空")
    private String ak;

    @NotBlank(message = "sk不能为空")
    private String sk;
}
